package com.pd.consumer.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: dong peng
 * @date: 2019/10/10 10:40
 * @description:
 */
@FeignClient(name = "pd-pay-provide",fallback = HystrixRemote.class)
public interface HelloRemote {
    @RequestMapping(value = "/hello")
    String hello(@RequestParam(value = "name") String name);
}
